﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Text;

namespace MVlog.Core
{
    /// <summary>
    /// 留言
    /// </summary>
    public class Message : Entity<long>, IFullAudited
    {
        /// <summary>
        /// 留言内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 被留言人Id
        /// </summary>
        public long MessageToId { get; set; }

        ///// <summary>
        ///// 留言人
        ///// </summary>
        //public long MessageFromId { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>
        public long ParentId { get; set; }

        /// <summary>
        /// 留言人名称
        /// </summary>
        public string CreatorUserName { get; set; }

        /// <summary>
        /// 留言人Id
        /// </summary>
        public long? CreatorUserId { get; set; }
        /// <summary>
        /// 留言时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? DeleterUserId { get; set; }
        public DateTime? DeletionTime { get; set; }
        public bool IsDeleted { get; set; }
    }
}
